﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FlexFlow.Model
{
    /// <summary>
    /// 表示用户权限定义
    /// </summary>
    public class PermissionDefine : PhysicalModel
    {
        /// <summary>
        /// 权限名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 权限类型
        /// </summary>
        public string Type { get; set; }
        /// <summary>
        /// 权限描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 表示权限的默认值，true为授予，false为拒绝
        /// </summary>
        public bool DefaultValue { get; set; }
    }
}
